package com.atguigu.eduservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) //默认不加载数据源->数据库
@EnableDiscoveryClient//nacos注册
public class OssApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(OssApplication.class);
	}

}
